package com.eric.demo.snowflake;

/**
 * @author guangyin.zhang
 * @since 2019/6/11
 */
public interface IdGenerator {
    /**
     * 获取ID
     * @return id值
     */
    public long nextId();
}
